Skip to content

Add Python Actions tutorial based on elastic-tube-1d#719

Open
kishansinghifs1 wants to merge 1 commit into
precice:developfrom
kishansinghifs1:feat/elastic-tube-callback-tutorial
Open

Add Python Actions tutorial based on elastic-tube-1d#719
kishansinghifs1 wants to merge 1 commit into
precice:developfrom
kishansinghifs1:feat/elastic-tube-callback-tutorial

Conversation

@kishansinghifs1
Copy link
Copy Markdown
Contributor

@kishansinghifs1 kishansinghifs1 commented Feb 23, 2026

Add Python callback interface tutorial and related scripts for elastic-tube-1d #617

  1. Added a complete Python callback interface workflow (precice-config-callback.xml, solver wrappers, and run scripts) alongside the baseline elastic tube case without modifying existing functionality.
  2. Created pressureRampAction.py with a performAction(...) function that applies a time-dependent pressure ramp (t < 0.2) via the preCICE Python callback interface.

Checklist:

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

@MakisH MakisH added the GSoC Contributed in the context of the Google Summer of Code label Feb 23, 2026
@MakisH MakisH self-requested a review February 23, 2026 18:47
@MakisH MakisH self-assigned this Feb 24, 2026
@precice-bot
Copy link
Copy Markdown
Collaborator

This pull request has been mentioned on preCICE Forum on Discourse. There might be relevant details there:

https://precice.discourse.group/t/gsoc-2026-kishan-singh-system-tests-improvements/2775/1

@MakisH MakisH changed the title Feat #617 : Add Python callback interface tutorial and related scripts for elastic-tube-1d Add Python Action tutorial based on elastic-tube-1d May 9, 2026
@MakisH MakisH changed the title Add Python Action tutorial based on elastic-tube-1d Add Python Actions tutorial based on elastic-tube-1d May 9, 2026
@fsimonis
Copy link
Copy Markdown
Member

The Python actions is a feature that is on the slippery slope towards undefined behavior.
There definitely is an issue when mixing time-window sizes.

We at least need to verify the results of this implementation.

A more strategic question is whether we even want to promote this feature.

@uekerman @MakisH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSoC Contributed in the context of the Google Summer of Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants